package com.open.api.service;

import com.open.api.annotation.OpenApi;
import com.open.api.bo.ImageBO;
import com.open.api.bo.MessageBO;
import com.open.api.model.ResultModel;

public interface MessageService {
    /**
     *向边界服务器发送信息
     */
    @OpenApi(method = "open.api.messageservice.SendMessage", desc = "消息接口--向边界服务器发送消息,方法SendMessage")
    ResultModel SendMessage(String requestId, MessageBO messageBO);
    /**
     *从边界服务器获取所有信息
     */
    @OpenApi(method = "open.api.messageservice.GetMessageFromServer", desc = "消息接口--从边界服务器获取所有信息,方法GetMessageFromServer")
    ResultModel GetMessageFromServer(String requestId,String str);
    /**
     *从边界服务器读取指定名称的文件
     */
    @OpenApi(method = "open.api.messageservice.ReadFile", desc = "消息接口--从边界服务器读取指定名称的文件,方法ReadFile")
    ResultModel ReadFile(String requestId,String fileName);
    /**
     *删除边界服务器指定名称的文件
     */
    @OpenApi(method = "open.api.messageservice.DeleteTempFile", desc = "消息接口--删除边界服务器指定名称的文件,方法DeleteTempFile")
    ResultModel DeleteTempFile(String requestId,String fileName);
}
